<!--<?php
require_once template('header'); 
print <<<EOT
<!--右边开始-->
<div id="right">
	<table class="clst" align="center" cellpadding="0" cellspacing="1">
		<tr>
			<td class="tleft">$lang[since_navigation]</td>
			<td class="tright">
			<a href="admincp.php?module=navigation&action=add&pos=$pos" class="but1">$lang[add_navigation]</a>
			<a href="admincp.php?module=navigation&action=list&pos=head" class="but1">$lang[head_navigation]</a>
			<a href="admincp.php?module=navigation&action=list&pos=middle" class="but1">$lang[central_navigation]</a> 
			<a href="admincp.php?module=navigation&action=list&pos=foot" class="but1">$lang[bottom_navigation]</a>
			<a href="admincp.php?module=navigation&action=list&pos=help" class="but1">$lang[help]</a>
			</td>
		</tr>
	</table>
	<table cellpadding="0" cellspacing="1" class="list">
		<tr>
			<th width="10%">NO.</th>
			<th width="25%">$lang[title]</th>
			<th width="20%">$lang[sort]</th>
			<th width="25%">$lang[type_columns]</th>
			<th width="20%">$lang[operation]</th>
		</tr>
		
<!--
EOT;
foreach ($nav_rt as $val){
++$i;
print <<<EOT
-->		
		<tr id="r$val[nid]">
			<td>$i</td>
			<td><a href="$val[link]" target="_blank" title="$val[alt]">$val[title]</a></td>
			<td>$val[view]</td>
			<td>$val[pos]</td>
			<td><a href="$val[edit]">$lang[laws]</a> | <a href="javascript:;" onclick="remove('$val[nid]','$val[del]');">$lang[remove]</a></td>
		</tr>
<!--
EOT;
} print <<<EOT
-->	

	</table>	
	<div id="page"><span>$page_list</span></div>
</div>
<!--
EOT;
?>-->